package com.boot3.starter.controller;


import com.boot3.starter.service.RobotService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RobotController {

    @Resource
    private RobotService robotService;

    @GetMapping(value = "sayHello")
    public String sayHello() {
        return robotService.sayHello();
    }

}
